package code.ws_common_scene.data
{
	import code.ws_common_scene.data.base.Damage;

	/**
	 * 攻击数据 
	 * @author Jonathan Qiang
	 * 
	 */	
	public class AtkData
	{
		/** 伤害来源id */
		public var _fromid:int;
		/** 伤害体id */
		public var _toid:int;
		/** 伤害包 */
		public var _damage:Damage;
		
		
		/**
		 * 构造函数 
		 * 
		 */		
		public function AtkData()
		{
		}
		
		
		/**
		 * 释放 
		 * 
		 */		
		public function dispose():void
		{
			_fromid = NaN;
			_toid = NaN;
			if( _damage )
			{
				_damage.dispose();
				_damage = null;
			}
		}
		
	}
}